<%@ page import="java.util.ArrayList"
	contentType="text/html;charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<html>
	<head>
		<%
			response.setHeader("Pragma", "No-cache");
			response.setHeader("Cache-Control", "no-cache");
			response.setDateHeader("Expires", 0);
		%>
	</head>

	<body>
	</body>

	<c:if test="${!empty error}">
		<c:if test="${error=='quit'}">
			<script>
window.top.location = "<%=request.getContextPath()%>/web/admin/main.jsp";
</script>

		</c:if>
		<c:if test="${error=='success'}">
			<script>
				window.top.location = "<%=request.getContextPath()%>/background/frame/index.jsp";
			</script>
		</c:if>
				<c:if test="${error=='store'}">
			<script>
				window.top.location = "<%=request.getContextPath()%>/background/goodplan?method=insertForward";
			</script>
		</c:if>
		<script>
				window.alert("<%=request.getAttribute("error").toString()%>");
				window.top.location="<%=request.getContextPath()%>/web/admin/main.jsp";
		</script>

	</c:if>

	<c:if test="${empty error}">
		<script>
window.alert("您没有访问权限，请登录");
window.top.location = "<%=request.getContextPath()%>/web/admin/main.jsp";
</script>
	</c:if>

</html>